<?php


namespace App\Services;


class EnterService
{
    public static function message($frame, $server): void
    {
        MessageService::switch($frame, $server);
    }

    /**
     * @param $server
     * @param $fd
     */
    public static function close($server, $fd): void
    {
        UserLineService::setOutline($server, $fd);
    }

    /**
     * @param $server
     * @param $request
     */
    public static function open($server, $request): void
    {
        DialogueStateService::doLogin($server, $request);
    }

}